package com.mogu.search.service;



import com.mogu.entity.TBlog;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface SearchService {

    /**
     * 通过关键字搜索博客
     */
    public List<TBlog>getBlogByTitle(String title);

    /**
     * 通过博客内容来找
     * @param content
     * @return
     */
    public List<TBlog>getBlogByContent(String content);

    public List<Map<String, Object>> findAll()throws IOException;


//   public List<TBlog>findAll(TBlog tBlog);

}
